package top.rainf.service;

import top.rainf.domain.dto.AreaWithBlocks;
import top.rainf.domain.vo.Area;

import java.util.List;

/**
 * @author 星环
 * @date 2023/5/10 11:35:11
 * @description
 */
public interface IAreaService {

    List<Area> getAreaList();

    List<Area> getFullAreaList(int nowPage,int numPerPage);

    List<AreaWithBlocks> getAreaListWithBlocks();

    Area getOneById(int id);

    boolean deleteOneById(int id);

    boolean deleteAll(List<Integer> idList);

    boolean updateById(Area area);
}
